package top.ninwoo.utils.service;

import top.ninwoo.utils.entity.NetworkInfo;

/**
 * @Author joliu
 * @Description
 * @Date　Create in 下午3:19 2019/11/1
 */
public interface TcService {


    boolean addQos(String containerId, String maxRate, String latency);

    boolean delQos(String containerId);

    NetworkInfo networkUsage(String containerId) throws InterruptedException;

    boolean addDelay(String containerId, int delay, int randomDelay, int correlation);

    boolean addDelay(String containerId, int loss);

    boolean addDelay(String containerId);
}
